package com.xyht.sca_s.student_manage_system.modules.assetFixedSelfInspection.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.assetFixedSelfInspection.entity.SmsAssetSelfInspection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.assetFixedSelfInspection.entity.req.SmsAssetSelfInspectionDetailReq;
import com.xyht.sca_s.student_manage_system.modules.assetFixedSelfInspection.entity.req.SmsAssetSelfInspectionPlanFinishReq;

/**
 * <p>
 * 我的资产 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-09-28
 */
public interface SmsAssetSelfInspectionService extends IService<SmsAssetSelfInspection> {

    ResponseResult getMyPlanList(String userId,Integer pagNum, Integer pageSize);

    ResponseResult getSelfInspectionList(Integer pagNum, Integer pageSize, String userId, String planId,String searchStr,
                                         Integer assetStatus,Integer isComplete,String assetId);

    ResponseResult finishOneAsset(String userId, SmsAssetSelfInspectionDetailReq req);

    ResponseResult finishAll(String userId, SmsAssetSelfInspectionPlanFinishReq finishReq);

    ResponseResult getSelfInspectionUserAllList(Integer pagNum, Integer pageSize, String planId, Integer isComplete, String selfInspectionUserName);

    ResponseResult getAppointSelfInspectionAllList(Integer pagNum, Integer pageSize, String planId, Integer isComplete, String userId, Integer assetStatus);
}
